[INFO] fetching crate devp2p 0.4.1...
[INFO] building devp2p-0.4.1 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate devp2p 0.4.1 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate devp2p 0.4.1 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate devp2p 0.4.1
[INFO] finished tweaking crates.io crate devp2p 0.4.1
[INFO] tweaked toml for crates.io crate devp2p 0.4.1 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 50fc8f245a499caa43ede356edccee224cd05f40e4b6ae8ebd1fb0ce301dc8e7
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "50fc8f245a499caa43ede356edccee224cd05f40e4b6ae8ebd1fb0ce301dc8e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50fc8f245a499caa43ede356edccee224cd05f40e4b6ae8ebd1fb0ce301dc8e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50fc8f245a499caa43ede356edccee224cd05f40e4b6ae8ebd1fb0ce301dc8e7", kill_on_drop: false }`
[INFO] [stdout] 50fc8f245a499caa43ede356edccee224cd05f40e4b6ae8ebd1fb0ce301dc8e7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3d646f0184f87e9a96bc0c436595ebe862e2bc75e3bb55f2c223f2a968b371fa
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3d646f0184f87e9a96bc0c436595ebe862e2bc75e3bb55f2c223f2a968b371fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling byte-tools v0.2.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling elastic-array-plus v0.9.1
[INFO] [stderr]    Compiling ethereum-hexutil v0.2.3
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling scoped-tls v0.1.2
[INFO] [stderr]    Compiling slab v0.3.0
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling blockchain v0.2.0
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling generic-array v0.8.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling ethereum-rlp v0.2.3
[INFO] [stderr]    Compiling digest v0.6.2
[INFO] [stderr]    Compiling block-buffer v0.2.0
[INFO] [stderr]    Compiling crypto-mac v0.4.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling sha3 v0.6.0
[INFO] [stderr]    Compiling sha2 v0.6.0
[INFO] [stderr]    Compiling hmac v0.4.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling hmac-drbg v0.1.2
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling unicode-normalization v0.1.18
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling tokio-timer-plus v0.1.3
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling libsecp256k1 v0.1.15
[INFO] [stderr]    Compiling ethereum-bigint v0.2.9
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling ethereum-bloom v0.2.1
[INFO] [stderr]    Compiling ethereum-block-core v0.1.0
[INFO] [stderr]    Compiling ethereum-trie v0.3.8
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling tokio-core v0.1.18
[INFO] [stderr]    Compiling dpt v0.3.1
[INFO] [stderr]    Compiling ethereum-block v0.3.5
[INFO] [stderr]    Compiling rlpx v0.4.1
[INFO] [stderr]    Compiling devp2p v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `future`
[INFO] [stdout]  --> src/raw.rs:9:61
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures::{StartSend, Async, Poll, Stream, Sink, Future, future};
[INFO] [stdout]   |                                                             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Decodable`
[INFO] [stdout]  --> src/eth/proto.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rlp::{Encodable, Decodable, RlpStream, DecoderError, UntrustedRlp};
[INFO] [stdout]   |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Address`, `B256`, `Gas`
[INFO] [stdout]  --> src/eth/proto.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bigint::{Address, Gas, H256, U256, B256};
[INFO] [stdout]   |              ^^^^^^^  ^^^              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `future`
[INFO] [stdout]  --> src/eth/mod.rs:3:72
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::{StartSend, Async, Poll, Stream, Sink, AsyncSink, Future, future};
[INFO] [stdout]   |                                                                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/eth/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/raw.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 96  | /         loop {
[INFO] [stdout] 97  | |             match result {
[INFO] [stdout] 98  | |                 Async::NotReady => return Ok(Async::Ready(())),
[INFO] [stdout] 99  | |                 Async::Ready(()) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 121 | |             }
[INFO] [stdout] 122 | |         }
[INFO] [stdout]     | |_________- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 125 |           Ok(Async::Ready(()))
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/raw.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 131 | /         loop {
[INFO] [stdout] 132 | |             match result {
[INFO] [stdout] 133 | |                 Async::NotReady => return Ok(Async::Ready(())),
[INFO] [stdout] 134 | |                 Async::Ready(()) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 142 | |             }
[INFO] [stdout] 143 | |         }
[INFO] [stdout]     | |_________- any code following this expression is unreachable
[INFO] [stdout] 144 | 
[INFO] [stdout] 145 |           Ok(Async::Ready(()))
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Future`
[INFO] [stdout]  --> src/eth/mod.rs:3:64
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::{StartSend, Async, Poll, Stream, Sink, AsyncSink, Future, future};
[INFO] [stdout]   |                                                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/eth/mod.rs:174:36
[INFO] [stdout]     |
[INFO] [stdout] 174 |             Ok(AsyncSink::NotReady(v)) => Ok(AsyncSink::NotReady(val)),
[INFO] [stdout]     |                                    ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/raw.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let mut rlpx = RLPxStream::new(handle, secret_key.clone(),
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `network_id`
[INFO] [stdout]   --> src/eth/mod.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     network_id: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 17s
[INFO] running `Command { std: "docker" "inspect" "3d646f0184f87e9a96bc0c436595ebe862e2bc75e3bb55f2c223f2a968b371fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d646f0184f87e9a96bc0c436595ebe862e2bc75e3bb55f2c223f2a968b371fa", kill_on_drop: false }`
[INFO] [stdout] 3d646f0184f87e9a96bc0c436595ebe862e2bc75e3bb55f2c223f2a968b371fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 700aad876923757543ed65edfa18b32137e94f92fce6e35120aed48821d571b9
[INFO] running `Command { std: "docker" "start" "-a" "700aad876923757543ed65edfa18b32137e94f92fce6e35120aed48821d571b9", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stdout] warning: unused import: `future`
[INFO] [stdout]  --> src/raw.rs:9:61
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures::{StartSend, Async, Poll, Stream, Sink, Future, future};
[INFO] [stdout]   |                                                             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Decodable`
[INFO] [stdout]  --> src/eth/proto.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rlp::{Encodable, Decodable, RlpStream, DecoderError, UntrustedRlp};
[INFO] [stdout]   |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Address`, `B256`, `Gas`
[INFO] [stdout]  --> src/eth/proto.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bigint::{Address, Gas, H256, U256, B256};
[INFO] [stdout]   |              ^^^^^^^  ^^^              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `future`
[INFO] [stdout]  --> src/eth/mod.rs:3:72
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::{StartSend, Async, Poll, Stream, Sink, AsyncSink, Future, future};
[INFO] [stdout]   |                                                                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/eth/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/raw.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 96  | /         loop {
[INFO] [stdout] 97  | |             match result {
[INFO] [stdout] 98  | |                 Async::NotReady => return Ok(Async::Ready(())),
[INFO] [stdout] 99  | |                 Async::Ready(()) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 121 | |             }
[INFO] [stdout] 122 | |         }
[INFO] [stdout]     | |_________- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 125 |           Ok(Async::Ready(()))
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/raw.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 131 | /         loop {
[INFO] [stdout] 132 | |             match result {
[INFO] [stdout] 133 | |                 Async::NotReady => return Ok(Async::Ready(())),
[INFO] [stdout] 134 | |                 Async::Ready(()) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 142 | |             }
[INFO] [stdout] 143 | |         }
[INFO] [stdout]     | |_________- any code following this expression is unreachable
[INFO] [stdout] 144 | 
[INFO] [stdout] 145 |           Ok(Async::Ready(()))
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Future`
[INFO] [stdout]  --> src/eth/mod.rs:3:64
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::{StartSend, Async, Poll, Stream, Sink, AsyncSink, Future, future};
[INFO] [stdout]   |                                                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/eth/mod.rs:174:36
[INFO] [stdout]     |
[INFO] [stdout] 174 |             Ok(AsyncSink::NotReady(v)) => Ok(AsyncSink::NotReady(val)),
[INFO] [stdout]     |                                    ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/raw.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let mut rlpx = RLPxStream::new(handle, secret_key.clone(),
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `network_id`
[INFO] [stdout]   --> src/eth/mod.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     network_id: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling env_logger v0.3.5
[INFO] [stderr]    Compiling devp2p v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `future`
[INFO] [stdout]  --> src/raw.rs:9:61
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures::{StartSend, Async, Poll, Stream, Sink, Future, future};
[INFO] [stdout]   |                                                             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Decodable`
[INFO] [stdout]  --> src/eth/proto.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rlp::{Encodable, Decodable, RlpStream, DecoderError, UntrustedRlp};
[INFO] [stdout]   |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Address`, `B256`, `Gas`
[INFO] [stdout]  --> src/eth/proto.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bigint::{Address, Gas, H256, U256, B256};
[INFO] [stdout]   |              ^^^^^^^  ^^^              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DecoderError`, `Encodable`, `RlpStream`
[INFO] [stdout]    --> src/eth/proto.rs:196:21
[INFO] [stdout]     |
[INFO] [stdout] 196 |     use rlp::{self, Encodable, Decodable, RlpStream, DecoderError, UntrustedRlp};
[INFO] [stdout]     |                     ^^^^^^^^^             ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `future`
[INFO] [stdout]  --> src/eth/mod.rs:3:72
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::{StartSend, Async, Poll, Stream, Sink, AsyncSink, Future, future};
[INFO] [stdout]   |                                                                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/eth/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> examples/eth_connect.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> examples/eth_connect.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> examples/eth_connect.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | use secp256k1::{PublicKey, SecretKey};
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `H512`
[INFO] [stdout]   --> examples/eth_connect.rs:29:26
[INFO] [stdout]    |
[INFO] [stdout] 29 | use bigint::{H256, U256, H512};
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Header`
[INFO] [stdout]   --> examples/eth_connect.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 | use block::{Header, Block};
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228
[INFO] [stdout]    --> examples/eth_connect.rs:113:59
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let mut timeout = Timeout::new(dur, &handle).unwrap().boxed();
[INFO] [stdout]     |                                                           ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228
[INFO] [stdout]    --> examples/eth_connect.rs:128:29
[INFO] [stdout]     |
[INFO] [stdout] 128 |                 timeout = t.boxed();
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/raw.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 96  | /         loop {
[INFO] [stdout] 97  | |             match result {
[INFO] [stdout] 98  | |                 Async::NotReady => return Ok(Async::Ready(())),
[INFO] [stdout] 99  | |                 Async::Ready(()) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 121 | |             }
[INFO] [stdout] 122 | |         }
[INFO] [stdout]     | |_________- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 125 |           Ok(Async::Ready(()))
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228
[INFO] [stdout]    --> examples/eth_connect.rs:145:63
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 timeout = Timeout::new(dur, &handle).unwrap().boxed();
[INFO] [stdout]     |                                                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/raw.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 131 | /         loop {
[INFO] [stdout] 132 | |             match result {
[INFO] [stdout] 133 | |                 Async::NotReady => return Ok(Async::Ready(())),
[INFO] [stdout] 134 | |                 Async::Ready(()) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 142 | |             }
[INFO] [stdout] 143 | |         }
[INFO] [stdout]     | |_________- any code following this expression is unreachable
[INFO] [stdout] 144 | 
[INFO] [stdout] 145 |           Ok(Async::Ready(()))
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228
[INFO] [stdout]    --> examples/eth_connect.rs:226:71
[INFO] [stdout]     |
[INFO] [stdout] 226 |                         timeout = Timeout::new(dur, &handle).unwrap().boxed();
[INFO] [stdout]     |                                                                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Decodable`
[INFO] [stdout]    --> src/eth/proto.rs:196:32
[INFO] [stdout]     |
[INFO] [stdout] 196 |     use rlp::{self, Encodable, Decodable, RlpStream, DecoderError, UntrustedRlp};
[INFO] [stdout]     |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Future`
[INFO] [stdout]  --> src/eth/mod.rs:3:64
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::{StartSend, Async, Poll, Stream, Sink, AsyncSink, Future, future};
[INFO] [stdout]   |                                                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/eth/mod.rs:174:36
[INFO] [stdout]     |
[INFO] [stdout] 174 |             Ok(AsyncSink::NotReady(v)) => Ok(AsyncSink::NotReady(val)),
[INFO] [stdout]     |                                    ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `best_number` is assigned to, but never used
[INFO] [stdout]    --> examples/eth_connect.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut best_number: U256 = U256::zero();
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]     = note: consider using `_best_number` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `when`
[INFO] [stdout]    --> examples/eth_connect.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut when = Instant::now() + dur;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_when`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]    --> examples/eth_connect.rs:158:29
[INFO] [stdout]     |
[INFO] [stdout] 158 |                 node, data, version
[INFO] [stdout]     |                             ^^^^^^^ help: try ignoring the field: `version: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_headers`
[INFO] [stdout]    --> examples/eth_connect.rs:168:33
[INFO] [stdout]     |
[INFO] [stdout] 168 |                         number, max_headers, skip, reverse
[INFO] [stdout]     |                                 ^^^^^^^^^^^ help: try ignoring the field: `max_headers: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `skip`
[INFO] [stdout]    --> examples/eth_connect.rs:168:46
[INFO] [stdout]     |
[INFO] [stdout] 168 |                         number, max_headers, skip, reverse
[INFO] [stdout]     |                                              ^^^^ help: try ignoring the field: `skip: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reverse`
[INFO] [stdout]    --> examples/eth_connect.rs:168:52
[INFO] [stdout]     |
[INFO] [stdout] 168 |                         number, max_headers, skip, reverse
[INFO] [stdout]     |                                                    ^^^^^^^ help: try ignoring the field: `reverse: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_headers`
[INFO] [stdout]    --> examples/eth_connect.rs:188:31
[INFO] [stdout]     |
[INFO] [stdout] 188 |                         hash, max_headers, skip, reverse
[INFO] [stdout]     |                               ^^^^^^^^^^^ help: try ignoring the field: `max_headers: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `skip`
[INFO] [stdout]    --> examples/eth_connect.rs:188:44
[INFO] [stdout]     |
[INFO] [stdout] 188 |                         hash, max_headers, skip, reverse
[INFO] [stdout]     |                                            ^^^^ help: try ignoring the field: `skip: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reverse`
[INFO] [stdout]    --> examples/eth_connect.rs:188:50
[INFO] [stdout]     |
[INFO] [stdout] 188 |                         hash, max_headers, skip, reverse
[INFO] [stdout]     |                                                  ^^^^^^^ help: try ignoring the field: `reverse: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `best_number` is never read
[INFO] [stdout]    --> examples/eth_connect.rs:211:37
[INFO] [stdout]     |
[INFO] [stdout] 211 | ...                   best_number = header.number;
[INFO] [stdout]     |                       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/raw.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let mut rlpx = RLPxStream::new(handle, secret_key.clone(),
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/eth_connect.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let mut client = ETHStream::new(
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> examples/eth_connect.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let mut got_bodies_for_current = true;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> examples/eth_connect.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut when = Instant::now() + dur;
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> examples/eth_connect.rs:111:29
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let (mut client_sender, mut client_receiver) = client.split();
[INFO] [stdout]     |                             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `NETWORK_ID`
[INFO] [stdout]   --> examples/eth_connect.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | const NETWORK_ID: usize = 1;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/eth_connect.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     env_logger::init();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `network_id`
[INFO] [stdout]   --> src/eth/mod.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     network_id: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 25 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 20.03s
[INFO] running `Command { std: "docker" "inspect" "700aad876923757543ed65edfa18b32137e94f92fce6e35120aed48821d571b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "700aad876923757543ed65edfa18b32137e94f92fce6e35120aed48821d571b9", kill_on_drop: false }`
[INFO] [stdout] 700aad876923757543ed65edfa18b32137e94f92fce6e35120aed48821d571b9
